// import com.alibaba.druid.sql.ast.statement.SQLAssignItem;
// import com.alibaba.druid.sql.dialect.oracle.visitor.OracleASTVisitor;

// import java.util.ArrayList;
// import java.util.List;

#include "OracleAlterSessionStatement.h"
#include "../../../../ast/statement/SQLAssignItem.h"
#include "../../visitor/OracleASTVisitor.h"
#include "../../../../../utils/listTran.h"

OracleAlterSessionStatement::OracleAlterSessionStatement()
{
  items = std::make_shared<std::list<SQLAssignItem_ptr>>();
}
// @Override
void OracleAlterSessionStatement::accept0(OracleASTVisitor_ptr visitor)
{
  if (visitor->visit(SharedObject(OracleAlterSessionStatement)))
  {
    SQLObject_list_ptr tmp1 = ListTran::tran_class<SQLAssignItem, SQLObject>(items);
    acceptChild(visitor, tmp1);
  }
  visitor->endVisit(SharedObject(OracleAlterSessionStatement));
}

SQLAssignItem_list_ptr OracleAlterSessionStatement::getItems()
{
  return items;
}

void OracleAlterSessionStatement::setItems(SQLAssignItem_list_ptr items)
{
  this->items = items;
}
